<?php
namespace serv\task\system;

use L;
use of\base\com\mq;

class currency
{
    //每天同步一次汇率
    public static function pull()
    {
        $date = date('Y-m-d');
        $data = [
            'status' => 1
        ];
        $key = "syncCurrency_{$date}";
        mq::set(["syncCurrency", $key], $data);
    }
}